package Model;

import java.util.Random;

/**
 * Created by zl206 on 2016/11/6.
 */
public class point {
    private double x;
    private double y;

    public point() {
    }

    public point(int x, int y) {
        this.x = new Random().nextInt(x);
        this.y = new Random().nextInt(y);
    }

    public double getX() {
        return x;
    }

    public void setX(double x) {
        this.x = x;
    }

    public double getY() {
        return y;
    }

    public void setY(double y) {
        this.y = y;
    }
}
